package com.wchen.project.zk.utils;

import org.apache.zookeeper.server.auth.DigestAuthenticationProvider;

/**
 * @Desc:   对 password 进行编码
 * @author: cww
 * @DateTime: 2020-01-29 10:34
 */

public class DigestAuthenticationProviderUsage {
    public static void main(String[] args) throws Exception{
        System.out.println(DigestAuthenticationProvider.generateDigest("foo:zk-book"));
    }
}
